<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <title>JS工具</title>
    <link rel="stylesheet" type="text/css" href="../easyui/themes/metro/easyui.css">
    <link rel="stylesheet" type="text/css" href="../easyui/themes/icon.css">
    <link rel="stylesheet" type="text/css" href="../easyui/themes/color.css">
    <link rel="stylesheet" type="text/css" href="easyui/demo/demo.css">
    <script type="text/javascript" src="../easyui/jquery.min.js"></script>
    <script type="text/javascript" src="../easyui/jquery.easyui.min.js"></script>
    <script type="text/javascript" src="../easyui/locale/easyui-lang-zh_CN.js"></script>
    <script type="text/javascript" src="../comm.js"></script>
    <script type="text/javascript" src="util.js"></script>

</head>
<body>
		
	<div class="easyui-layout" style="width:100%;height:100%;" fit="true">
	 <div region="center">
        <table>
            <tr>
                <!-- --------------------  tool 1   ------------------------------- -->
                <td>
                    <div class="easyui-panel" title="列转行" style="width: 500px;height: 250px;background-color:#63ceee;">
                        <input class="easyui-textbox" id="transFromText" data-options="prompt:'请输入列名，多个用逗号隔开',multiline:true"  style="width:100%;height: 150px;">
                        <div style="text-align:center;margin-top:5px;">
                            <input type ='radio' name='transType' value='1' checked>空格
                            <input type ='radio' name='transType' value='2'>逗号
                            
                            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="doTrans()">列转行</a>
                        </div>
                        <input class="easyui-textbox" id="transToText" data-options="prompt:''"  style="width:100%;">  
                    </div>
                </td>
                <!-- --------------------  tool 2   ------------------------------- -->
                <td>
                    <div class="easyui-panel" title="去掉注释" style="width: 500px;height: 250px;background-color:#90EE90;">
                        <input class="easyui-textbox" id="jsTextArea" data-options="prompt:'js代码片段',multiline:true"  style="width:100%;height: 175px;">
                        <div style="text-align:center;margin-top:5px;">
                            <a href="javascript:void(0)" class="easyui-linkbutton" onclick="tripConmments()">去掉注释</a>
                           
                        </div>
                    </div>
                    
                </td>



               
            </tr>   
            
            <tr>
                <!-- --------------------  选择文件 1   ------------------------------- -->
                <td>
                    <div class="easyui-panel" title="选择文件" style="width: 500px;height: 250px;background-color:#63ceee;">
                   
                        <input class="easyui-textbox" id="selectFile" data-options="prompt:'',buttonText:'选择文件', iconAlign:'right',onClickButton:openflie"  style="width:100%;">  
                        
                    </div>
                    <div style="text-align:center;margin-top:5px;">
                        <a href="javascript:void(0)" class="easyui-linkbutton" onclick="open_confirm()">弹窗</a>
                       
                    </div>                 
                    
                </td>
               
               


                
            </tr>     
        </table>


	    
       
	 </div>
	</div>

</body>

</html>